<template>
    <div>
        <div class="seach">
            <span>
                {{$t('smstp')}}
                <el-select v-model="smsResForm.type" :placeholder="$t('plsset')" size="mini">
                    <el-option :label="'-' + $t('plsset') + '-'" :value="null"></el-option>
                </el-select>
            </span>
            <el-button type="primary" @click="getsmsResList" v-preventReClick>{{$t('qury')}}</el-button>
            <el-button type="warning" @click="showAddres" v-preventReClick>{{$t('add')}}</el-button>
        </div>
        <!-- 内容区域 -->
        <el-card class="cardBox">
            <el-table border style="width: 100%" :data="smsResTab">
                <el-table-column type="index" :label="$t('sernum')">
                </el-table-column>
                <el-table-column prop="bannerSystem" :label="$t('smstp')">
                </el-table-column>
                <el-table-column prop="bannerType" :label="$t('remkintion')">
                </el-table-column>
                <el-table-column prop="title" :label="$t('smsrestrdeta')">
                </el-table-column>
                <el-table-column prop="takeEffectTime" :label="$t('sigtr')">
                </el-table-column>
                <el-table-column prop="loseEfficacyTime" :label="$t('sta')">
                </el-table-column>
                <el-table-column prop="address" :label="$t('opratn')" width="90" fixed="right">
                    <template slot-scope="scope">
                        <el-link type="primary" @click="showEditsmsChnl(scope.row)">{{$t('mdfy')}}</el-link>
                        <el-link type="primary" @click="showDelsmsChnl(scope.row)">{{$t('dlte')}}</el-link>
                    </template>
                </el-table-column>
            </el-table>
            <!-- 分页 -->
            <!-- <el-pagination
                @size-change="handleSizeChange"
                @current-change="handleCurrentChange"
                :current-page="selApp.pageNum"
                :page-sizes="[10, 15, 20, 30]"
                :page-size="selApp.pageSize"
                layout="total, sizes, prev, pager, next, jumper"
                :total="total">
            </el-pagination> -->
        </el-card>
    </div>
</template>

<script>
export default {
    data () {
        return {
            smsResForm: {
                type: null
            },
            smsResTab: []
        }
    },
    methods: {
        getsmsResList () {},
        showAddres () {}
    }
}
</script>

<style lang="less" scoped>
@import './smsResChn.less';
</style>
